<%--
  Created by IntelliJ IDEA.
  User: corcutt
  Date: Mar 17, 2009
  Time: 8:24:52 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head><title>Edit My Account</title></head>
<body onload="disableLink('editVolunteer')">
<%@ include file="header.jspf" %>
<h3>Edit Your Account Information:</h3>
<form:form modelAttribute="volunteer">
    <table width="100%">
        <tr>
            <td>Enter email:</td>
            <td>
                <form:input path="email" autocomplete="false"/> <!-- email parameter mapped somewhere.. ? -->
                <form:errors path="email" cssStyle="color: red"/>
            </td>
        </tr>
        <tr>
            <td>Enter password:</td>
            <td>
                <form:password showPassword="true" path="password" autocomplete="false"/>
                <form:errors path="password" cssStyle="color: red"/>
            </td>
        </tr>
        <tr>
            <td>Enter first name:</td>
            <td>
                <form:input path="firstName" autocomplete="false"/>
                <form:errors path="firstName" cssStyle="color: red"/>
            </td>
        </tr>
        <tr>
            <td>Enter last name:</td>
            <td>
                <form:input path="lastName" autocomplete="false"/>
                <form:errors path="lastName" cssStyle="color: red"/>
            </td>
        </tr>
        <form:hidden path="id"/>
        <tr>
            <td colspan="2" style="text-align:center"><input type="submit" value="Enter"></td>
        </tr>
    </table>
</form:form>

<%@ include file="footer.jspf" %>
</body>
</html>